
package fileby.model.impl.sources;

import fileby.core.IDisplayableFileSource;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;

/**
 *
 * @author Jacob
 */
public interface IFileSource extends IDisplayableFileSource {
    public ArrayList<FileItem> getFileItems();
    public void setSingleSelected(String path);
    public void setSelected(String path, boolean b);
    public void setAllSelected(boolean b);
    public boolean canAdd();
    public boolean canEdit();
    public boolean addFiles(List<File> fileList, int action) throws IOException;
    public void updateContent();
}
